package com.example.linuxweb.model;

import java.util.ArrayList;
import java.util.List;

public class TerminalSession {
    private List<Command> commandHistory;
    private FileSystem fileSystem;

    public TerminalSession() {
        this.commandHistory = new ArrayList<>();
        this.fileSystem = new FileSystem();
    }

    public List<Command> getCommandHistory() {
        return commandHistory;
    }

    public void addCommandToHistory(Command command) {
        this.commandHistory.add(command);
    }

    public FileSystem getFileSystem() {
        return fileSystem;
    }
}